package com.dog.basics.bean.dto.admin.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 消息通知
 * </p>
 *
 * @author guonh
 * @since 2020-05-14
 */
@Data

public class NewsEditDto extends NewsAddDto{

    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "id", dataType = "Long", required = true)
    private Long id;

}
